package com.company.car;

public final class Bus extends MotoVehicle {
    int seatCount;


    public Bus(int seatCount, String no) {
        this.seatCount = seatCount;
        this.no = no;
    }

    @Override
    public int CalcRent(int days) {
         if (this.seatCount <= 16)
            return days*800;
         else
             return days*1500;
    }
}
